package pokerbot;

import java.util.ArrayList;
import java.util.List;
import pokerbot.entities.Card;

public class Constants {
    
    public static final int BOT_POSITION = -1;
    
    public static enum Suit {
        SPADES,    //пики
        CLUBS,     //крести
        HEARTS,    //червы
        DIAMONDS   //бубны
    }
    
    public static enum Value {
        TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE, TEN,
        VALET, QUEEN, KING, ACE
    }
    
    public static enum Combination {
        HIGH_CARD,        //кикер
        ONE_PAIR,         //пара
        TWO_PAIRS,        //две пары
        SET,              //сет
        STRAIGHT,         //стрит
        FLUSH,            //флеш
        FULL_HOUSE,       //фул-хаус
        QUADS,            //каре
        STRAIGHT_FLUSH,   //стрит-флеш
        ROYAL_FLUSH       //роял-флеш
    }
    
    public static enum CardPositions {
        BOTS_CARD_1,
        BOTS_CARD_2,
        TABLE_CARD_1,
        TABLE_CARD_2,
        TABLE_CARD_3,
        TABLE_CARD_4,
        TABLE_CARD_5
    }
    
    //полная колода
    public static List<Card> getAllCards() {
        List<Card> allCards = new ArrayList();
        for (Suit value : Suit.values()) {
            for (Value value1 : Value.values()) {
                allCards.add(new Card(value, value1));
            }
        }
        return allCards;
    }
    
}
